import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import i18n from './i18n'
import './style.css'

const app = createApp(App)
const pinia = createPinia()

app.use(pinia)
app.use(router)
app.use(i18n)

// 检测是否为Windows系统，给html加windows类
if (navigator.userAgent.indexOf('Windows') !== -1) {
  document.documentElement.classList.add('windows');
}

app.mount('#app') 